package cn.js.ccit.service;

import cn.js.ccit.mapper.RecordMapper;
import cn.js.ccit.pojo.Record;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RecordService implements IRecordService{

    @Autowired
    private RecordMapper recordMapper;

    public boolean insertRecord(Record record){
        return recordMapper.insertRecord(record);
    }

    @Override
    public boolean updateRecordByEmpNo(Record record) {
        return recordMapper.updateRecordByEmpNo(record);
    }

    /*
    @Override
    public List getAllRecord() {
        return recordMapper.getAllRecord();
    }

    */
}
